package org.csc.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableDiscoveryClient
@EnableConfigServer
@SpringBootApplication
public class ConfigServerAppplication {
    private static final Logger log = LoggerFactory.getLogger(ConfigServerAppplication.class);

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerAppplication.class, args);
        log.info("【config-server项目启动成功......】");
    }

}
